﻿using CardLib1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _11._3
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello, World!");
            //Deck mydeck = new Deck();
            //mydeck.PrintDeck();
            //mydeck.Shuffle();
            //mydeck.PrintDeck();
            //    //Deck MyDeck = new Deck();
            ////MyDeck.Shuffle();
            ////MyDeck.PrintDeck();
            
            
            Deck deck1 = new Deck();
            Deck deck2=(Deck)deck1.Clone();

            Console.WriteLine($"{deck1.GetCard(1)}");
            Console.WriteLine($"{deck2.GetCard(1)}");

            deck1.Shuffle();

            Console.WriteLine($"{deck1.GetCard(1)}");
            Console.WriteLine($"{deck2.GetCard(1)}");


            Console.ReadLine();
        }
    }
}
